/**
 * API接口统一导出
 * 
 * 使用方式：
 * import { login, logout, getStorageDetail } from '@/api'
 * 
 * 或者按需导入：
 * import { login } from '@/api/auth/login'
 * import { getStorageDetail } from '@/api/storage/detail'
 */

// 认证相关接口
export { login, logout } from './auth/login'

// 存件相关接口
export { getStorageDetail } from './storage/detail'
export { completeStorageByCode } from './storage/complete'

// 取件相关接口
export { getPickupStorageDetail } from './pickup/detail'
export { completePickupByCode } from './pickup/complete'

// 配置和工具函数
export { getToken, setToken, removeToken, getHeaders } from './config'

// 类型定义
export type { 
  ApiResponse, 
  PaginationResponse, 
  UserInfo, 
  LoginResponseData 
} from './types/common'

export type { LoginRequest } from './auth/login'

export type { 
  StorageDetailResponseData, 
  StorageDetail, 
  StatusRecord 
} from './types/storage'

export type { CompleteStorageResponseData } from './storage/complete'
export type { CompletePickupResponseData } from './pickup/complete'
